package com.tzpay.tzpay.common;

import android.net.Uri;

public class StaticVars {

    /**
     * 订单信息表中当前有多少条
     */
    public static int ORDERINFO_CURR_COUNT = 0;

    /**
     * 订单信息表每次删除的条数
     */
    public static int ORDERINFO_DELETE_COUNT = 500;

    /**
     * 订单信息表最多的条数
     */
    public static final int ORDERINFO_MAX_COUNT = 10000;

    public static final String DB_NAME = "tzpay.db";
    public static final int VERSION = 1;

    public static class URI {
        public static final String AUTHORITY = "com.tzpay.tzpay";
        public static final Uri ORDER_INFO = Uri.parse("content://"
                + AUTHORITY + "/" + Table.ORDER_INFO);
    }

    public static class Table {
        public static final String ORDER_INFO = "order_info";
    }

    public static class Column {
        public static final String _ID = "_id";
        public static final String ORDER_NO = "order_no";
        public static final String ORDER_REQ_NO = "order_req_no";
        public static final String MERCHAT_ID = "merchant_id";
        public static final String SUB_MERCHAT_ID = "sub_merchant_id";
        public static final String ORDER_DATE = "order_date";
        public static final String ORDER_AMT = "order_amt";
        public static final String PRODUCT_AMT = "product_amt";
        public static final String ATTACH_AMT = "attach_amt";
        public static final String GOODS_NAME = "goods_name";
        public static final String STORE_ID = "store_id";
        public static final String OUR_TRANS_NO = "our_trans_no";
        public static final String ERROR_CODE = "error_code";
        public static final String ERROR_MSG = "error_msg";
        public static final String REFUND_FLAG = "refund_flag";
        public static final String CUSTOMER_ID = "customer_id";
        public static final String REFUND_REQ_NO = "refund_req_no";
        public static final String REFUND_REQ_DATE = "refund_req_date";
        public static final String TRANS_AMT = "trans_amt";
        public static final String TRANS_STATUS = "trans_status";
        public static final String ENCODE_TYPE = "encode_type";
        public static final String SIGN = "sign";
        public static final String BARCODE = "barcode";
        public static final String CHANNEL = "channel";
        public static final String BUSI_TYPE = "busi_type";
        public static final String BACK_URL = "back_url";
        public static final String LEDGER_DETAIL = "ledger_detail";
        public static final String TEMP_1 = "temp1";
        public static final String TEMP_2 = "temp2";
        public static final String TEMP_3 = "temp3";
        public static final String TEMP_4 = "temp4";
        public static final String TEMP_5 = "temp5";
        public static final String TEMP_6 = "temp6";
        public static final String TEMP_7 = "temp7";
        public static final String TEMP_8 = "temp8";
        public static final String TEMP_9 = "temp9";
        public static final String TEMP_10 = "temp10";
        public static final String UPLOAD_FLAG = "upload_flag";
    }
}
